﻿using Microsoft.EntityFrameworkCore;
using OL.FrameCore.Application.Person.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace OL.FrameCore.Application.Person
{
    public interface IPersonService
    {
        /// <summary>
        /// 更新用户资料
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Result UpdatePersonInfo(UpdatePersonInfoRequest request);
        /// <summary>
        /// 修改密码
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Result UpdatePassword(UpdatePasswordRequest request);
        /// <summary>
        /// 获取登录记录
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        PageData<GetLoginRecordListResponse> GetLoginRecordList(GetLoginRecordListRequest request);
    }
}
